package com.retail.order.mapper;

import com.retail.order.domain.OrderSku;
import com.retail.order.domain.TOrder;
import com.retail.order.domain.TOrderDetails;
import com.retail.order.dto.OrderDetailResponse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderDetailMapper {
    List<OrderDetailResponse> lookDetail(@Param("orderId") Long orderId);

    Integer orderDetailInstall(TOrderDetails tOrderDetails);

    List<OrderSku> orderSkuList(Integer orderId);

    void orderUpdStatus(@Param("orderId") Integer orderId);

    TOrder orderGetUserId(Integer orderId);
}
